'''
1. 存储不同数据类型
2. 检测变量的数据类型，type(变量名)
'''
num1 = 1
num2 = 1.1
print(type(num1)) # <class 'int'>
print(type(num2))

# 字符型 <class 'str'>
a = 'hello world'
print(type(a))

# bool -- ,布尔型 值 True / False
b = True
print(type(b))

# 列表 list
c = [10,20,30]
print(type(c))

# 元祖 tuple,
d = (10,20,30)
print(type(d))

# 集合 set
e = {10,20,30}
print(type(e))

# 字典 dict 存储键值对
f = {'name':'TOM','age':10}
print(type(f))